package com.etime.perfectschool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etime.perfectschool.pojo.ActiviesComments;
import com.etime.perfectschool.pojo.NewsComments;
import com.etime.perfectschool.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

//   活动评论表
@Repository
public interface ActiviesCommentsMapper extends BaseMapper<ActiviesComments> {
    //获取某条活动的所有评论
    List<ActiviesComments> getAllActiviesComments(int activityId);
    //删除某条活动的评论
    int deleteActiviesCommentsByactivityId(int activityId);
}
